package com.explment.lens.controller.theme;

import com.explment.lens.entity.SysThemeTemplateEntity;
import com.explment.lens.service.SysThemeTemplateService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 系统主题-模板 controller
 */
@RestController
@RequestMapping("/sysThemeTemplateEntity")
public class SysThemeTemplateController {
    @Autowired
    private SysThemeTemplateService sysThemeTemplateEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysThemeTemplateEntityService.getById(id));
    }
}